<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html class=" js no-touch csstransforms csstransforms3d svg" lang=""><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>全部报告 - 企业安全应急响应与缺陷管理中心</title>
<meta name="description" content="">
<meta name="referrer" content="never">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="/Public/Static//app.min.css">
<link rel="stylesheet" href="/Public/Static//sweetalert.css">

<style type="text/css">.cf-hidden { display: none; } .cf-invisible { visibility: hidden; }</style>
</head>
<body class="wysihtml5-supported page-loaded" style="font-family:微软雅黑;">
 
<div class="pageload" style="display: none;">
<div class="pageload-inner">
<div class="sk-rotating-plane"></div>
</div>
</div>
 
<div class="app layout-fixed-header">
 
<div class="sidebar-panel offscreen-left ps-container ps-active-y" data-ps-id="4dd3008c-a74f-793d-e4fa-8a1e95729015">
<div class="brand">
 
<a href="<?php echo U('about/index');?>" class="toggle-apps hidden-xs">
<i id="icon_dynamic" class="icon-grid"></i>
</a>
 
 
<div class="toggle-offscreen">
<a href="javascript:;" class="visible-xs hamburger-icon" data-toggle="offscreen" data-move="ltr">
<span></span>
<span></span>
<span></span>
</a>
</div>
 
 
<a class="brand-logo">
<span>xSRC</span>
</a>
</div>
 
<nav role="navigation">
<ul class="nav">
 
<li>
<a href="<?php echo U('index/index');?>">
<i class="icon-compass"></i>
<span>控制台</span>
</a>
</li> 
 
<li class="open menu-accordion">
<a href="javascript:;">
<i class="icon-drop"></i>
<span>漏洞报告</span>
</a>
<ul class="sub-menu">
<li>
<a href="<?php echo U('post/index?type=1');?>">
<span style="color:[review_report_color];">报告审核</span>
</a>
</li>
<li>
<a href="<?php echo U('post/index');?>">
<span style="color:#6164C1;;">全部报告</span>
</a>
</li>
<li>
<a href="<?php echo U('category/index');?>">
<span style="color:[report_category_color];">漏洞分类</span>
</a>
</li>
</ul>
</li>
<li class="[links_status] menu-accordion">
<a href="javascript:;">
<i class="icon-bag"></i>
<span>礼品中心</span>
</a>
<ul class="sub-menu">
<li>
<a href="<?php echo U('gifts/index');?>">
<span style="color:[links_color]">礼品管理</span>
</a>
</li>
<li>
<a href="<?php echo U('order/index');?>">
<span style="color:[orders_color]">订单管理</span>
</a>
</li>
</ul>
</li>
<li class="[page_status] menu-accordion">
<a href="javascript:;">
<i class="icon-book-open"></i>
<span>博客公告</span>
</a>
<ul class="sub-menu">
<li>
<a href="<?php echo U('page/index');?>">
<span style="color:[page_color];">公告管理</span>
</a>
</li>
<li>
<a href="<?php echo U('blog/index');?>">
<span style="color:[blog_color];">博客管理</span>
</a>
</li>
</ul>
</li>

<li class="[users_status] menu-accordion">
<a href="javascript:;">
<i class="icon-users"></i>
<span>用户管理</span>
</a>
<ul class="sub-menu">
<li>
<a href="<?php echo U('member/index');?>">
<span style="color:[member_color]">前台用户</span>
</a>
</li>
<li>
<a href="<?php echo U('manager/index');?>">
<span style="color:[manager_color]">后台用户</span>
</a>
</li>
</ul>
</li>

  
<li class="[hall_status] menu-accordion">
<a href="javascript:;">
<i class="icon-trophy"></i>
<span>贡献管理</span>
</a>
<ul class="sub-menu">
<li>
<a href="<?php echo U('hall/record');?>">
<span style="color:[jifen_color];">积分日志</span>
</a>
</li>
</ul>
</li>

<li class="[setting_status] menu-accordion">
<a href="javascript:;">
<i class="icon-equalizer"></i>
<span>系统设置</span>
</a>
<ul class="sub-menu">
<li>
<a href="<?php echo U('setting/index');?>">
<span style="color:[setting_color]">基础配置</span>
</a>
<a href="<?php echo U('setting/notify');?>"><span style="color:[setting_notify_color]">通知设置</span></a>
</li>
</ul>
</li>
</ul>
</nav>
 
<div class="ps-scrollbar-x-rail" style="left: 0px; bottom: 3px;"><div class="ps-scrollbar-x" tabindex="0" style="left: 0px; width: 0px;"></div></div><div class="ps-scrollbar-y-rail" style="top: 0px; height: 703px; right: 0px;"><div class="ps-scrollbar-y" tabindex="0" style="top: 0px; height: 562px;"></div></div></div>
 
 
<div class="main-panel">
 
<div class="header navbar">
<div class="brand visible-xs">
 
<div class="toggle-offscreen">
<a href="javascript:;" class="hamburger-icon visible-xs" data-toggle="offscreen" data-move="ltr">
<span></span>
<span></span>
<span></span>
</a>
</div>
 
 
<a class="brand-logo">
<span>xSRC</span>
</a>
 
</div>

<ul class="nav navbar-nav navbar-right hidden-xs">
<li>
<ul class="dropdown-menu notifications">
<li class="notifications-header">
</li>
<li>
<ul class="notifications-list">
<li>
<a href="javascript:;">
<div class="notification-icon">
<div class="circle-icon bg-success text-white">
<i class="icon-bulb"></i>
</div>
</div>
</a>
</li>
<li>
<a href="javascript:;">
<div class="notification-icon">
<div class="circle-icon bg-danger text-white">
<i class="icon-cursor"></i>
</div>
</div>
</a>
</li>
<li>
<a href="javascript:;">
<div class="notification-icon">
<div class="circle-icon bg-primary text-white">
<i class="icon-basket"></i>
</div>
</div>
</a>
</li>
<li>
<a href="javascript:;">
<div class="notification-icon">
<div class="circle-icon bg-info text-white">
<i class="icon-bubble"></i>
</div>
</div>
</a>
</li>
<li>
<a href="javascript:;">
<span class="notification-icon">
<img src="/Public/Static//face3.jpg" class="avatar img-circle" alt="">
</span>
</a>
</li>
</ul>
</li>
</ul>
</li>
<li>
<a href="javascript:;" class="ripple" data-toggle="dropdown">
<img src="/Public/Static//avatar.jpg" class="header-avatar img-circle" alt="user" title="user">
<span><?php echo session('adminname');?> </span>
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li>
<a href="<?php echo U('manager/update?id='); echo session('adminId');?>">个人设置</a>
</li>
<li>
<a href="https://support.qq.com/products/83106" target="_blank">建议反馈</a>
</li>
<li role="separator" class="divider"></li>
<li>
<a href="<?php echo U('login/logout?token='); echo session('token');?>">退出</a>
</li>
</ul>
</li>
</ul>
</div>
 
 
<div class="main-content">
<div class="row">
        <div class="col-md-6">
        <!--<a href="<?php echo U('post/add');?>" class="btn btn-success" style="margin : 2px 5px 5px 0px;">添加报告</a>-->
		<div class="btn-group">
			<button type="button" class="btn btn-primary" style="margin : 2px 0px 5px 0px;">筛选报告</button>
			<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" style="margin : 2px 0px 5px 0px;">
				<span class="caret"></span>
				<span class="sr-only">切换下拉菜单</span>
			</button>
			<ul class="dropdown-menu" role="menu">
				<li><a href="<?php echo U('post/index');?>">全部</a></li>
				<li><a href="<?php echo U('post/index?type=1');?>">审核中</a></li>
				<li><a href="<?php echo U('post/index?type=2');?>">已忽略</a></li>
				<li><a href="<?php echo U('post/index?type=3');?>">已确认</a></li>
				<li><a href="<?php echo U('post/index?type=4');?>">已修复</a></li>
				<li><a href="<?php echo U('post/index?type=5');?>">已完成</a></li>
			</ul>
</div>
<div class="btn-group">
			<button type="button" class="btn btn-primary" style="margin : 2px 0px 5px 0px;">导出报告</button>
			<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" style="margin : 2px 0px 5px 0px;">
				<span class="caret"></span>
				<span class="sr-only">切换下拉菜单</span>
			</button>
			<ul class="dropdown-menu" role="menu">
				<li><a href="<?php echo U('post/portall?token='); echo session('token');?>">全部</a></li>
				<li><a href="<?php echo U('post/portall?type=1&token='); echo session('token');?>">审核中</a></li>
				<li><a href="<?php echo U('post/portall?type=2&token='); echo session('token');?>">已忽略</a></li>
				<li><a href="<?php echo U('post/portall?type=3&token='); echo session('token');?>">已确认</a></li>
				<li><a href="<?php echo U('post/portall?type=4&token='); echo session('token');?>">已修复</a></li>
				<li><a href="<?php echo U('post/portall?type=5&token='); echo session('token');?>">已完成</a></li>
			</ul>
</div>
    </ul>
        </div>
        <div class="col-md-6">
            <form action="<?php echo U('post/index');?>" method="post">
                <div class="form-group input-group" style="margin : 2px 0px 5px 0px;">
                    <input type="text" class="form-control" name="key" value="<?php echo ($search_key); ?>" placeholder="输入报告标题关键词搜索...">
                    <span class="input-group-btn">
                      <button class="btn btn-default" type="submit"><i class="fa fa-search"></i></button>
                    </span>
                </div>
            </form>
        </div>
    </div>
	<div class="no-more-tables">
    <table class="table m-b-0">
        <thead>
            <tr>
                <th>编号</th>
                <th>报告标题</th>
                <th>报告状态</th>
                <th>提交时间</th>
                <th>提交者</th>
                <th>漏洞类型</th>
                <th>操作</th> 
            </tr>
        </thead>
        <tbody>
        <?php if(is_array($model)): foreach($model as $key=>$v): ?><tr>
                <td data-title="编号"><?php echo ($v["id"]); ?></td>
                <td data-title="报告标题"><a href="<?php echo U('post/review?id='); echo ($v["id"]); ?>" title="<?php echo ($v["title"]); ?>"><?php echo (mb_substr($v["title"],0,25,'utf-8')); ?></a></td>
                <td data-title="报告状态">
                    <?php if($v["type"] == 1): ?><span class="label label-info">审核中</span>
                    <?php elseif($v["type"] == 2): ?><span class="label label-default">已忽略</span>
                    <?php elseif($v["type"] == 3): ?><span class="label label-warning">已确认</span>
                    <?php elseif($v["type"] == 4): ?><span class="label label-success">已修复</span>
					<?php elseif($v["type"] == 5): ?><span class="label label-default">已完成</span><?php endif; ?>
                </td>
                <td data-title="提交时间"><?php echo (date("Y/m/d",$v["time"])); ?></td>
                <td data-title="提交者"><?php echo ($v["username"]); ?></td>
                <td data-title="分类"><?php echo ($v["category_title"]); ?></td>
                <td data-title="操作"><a href="<?php echo U('post/review?id='); echo ($v["id"]); ?>">审核</a> | <a href="<?php echo U('post/update?id='); echo ($v["id"]); ?>">编辑</a> | <?php if($v["visible"] == 0): ?><a href="<?php echo U('post/session?id='); echo ($v["id"]); ?>" target="_Blank">导出工单</a>  <?php elseif($v["visible"] == 1): ?><a href="<?php echo U('check/htmlview?session_id='); echo ($v["session"]); ?>" target="_Blank">查看工单</a> |  <a href="<?php echo U('post/cancel?id='); echo ($v["id"]); ?>&token=<?php echo session('token');?>" target="_Blank">取消导出</a><?php endif; ?> | <a href="<?php echo U('post/delete?id='); echo ($v["id"]); ?>&token=<?php echo session('token');?>" style="color:red;" onclick="javascript:return confirm('您真的确定要删除吗？\n\n删除后将不能恢复!');">删除</a></td>
            </tr><?php endforeach; endif; ?>
        </tbody>
    </table>
	</div>
    <div class="clearfix"></div>
    <?php echo ($page); ?>
</div>
</div>
<script src="/Public/Static//app.min.js"></script><div class="bg-default"></div><div class="bg-primary"></div><div class="bg-success"></div><div class="bg-warning"></div><div class="bg-danger"></div><div class="bg-info"></div><div class="bg-white"></div><div class="bg-dark"></div>
 
<script src="/Public/Static//bootstrap3-wysihtml5.all.min.js"></script>
<script src="/Public/Static//summernote.min.js"></script>
<script src="/Public/Static//jquery.flot.js"></script>
<script src="/Public/Static//jquery.flot.resize.js"></script>
<script src="/Public/Static//jquery.flot.categories.js"></script>
<script src="/Public/Static//jquery.flot.stack.js"></script>
<script src="/Public/Static//jquery.flot.time.js"></script>
<script src="/Public/Static//jquery.flot.pie.js"></script>
<script src="/Public/Static//jquery.flot.spline.js"></script>
<script src="/Public/Static//jquery.flot.orderBars.js"></script>
<script src="/Public/Static//sweetalert.min.js"></script>
  
<script src="/Public/Static//sameheight.js"></script>
<script src="/Public/Static//dashboard.js"></script>

<script src="/Public/Static//wysiwyg.js"></script><div class="note-popover popover in note-link-popover bottom" style="display: none;">  <div class="arrow"></div>  <div class="popover-content note-children-container"><span><a target="_blank"></a>&nbsp;</span><div class="note-btn-group btn-group note-link"><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Edit"><i class="note-icon-link"></i></button><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Unlink"><i class="note-icon-chain-broken"></i></button></div></div></div><div class="note-popover popover in note-image-popover bottom" style="display: none;">  <div class="arrow"></div>  <div class="popover-content note-children-container"><div class="note-btn-group btn-group note-imagesize"><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Resize Full"><span class="note-fontsize-10">100%</span></button><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Resize Half"><span class="note-fontsize-10">50%</span></button><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Resize Quarter"><span class="note-fontsize-10">25%</span></button></div><div class="note-btn-group btn-group note-float"><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Float Left"><i class="note-icon-align-left"></i></button><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Float Right"><i class="note-icon-align-right"></i></button><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Float None"><i class="note-icon-align-justify"></i></button></div><div class="note-btn-group btn-group note-remove"><button type="button" class="note-btn btn btn-default btn-sm" title="" data-original-title="Remove Image"><i class="note-icon-trash"></i></button></div></div></div>
<script>
var current_version = '1.0.1';

function fetch_update(){
				
                $.ajax({
                    url: "https://security.tencent.com/xsrc/get_new_ver",
                    type: "GET",
                    success: function (data) {
						if (data != current_version){
							$("#icon_dynamic").attr("class","icon-arrow-up");
							$("#icon_dynamic").attr("style","color:red;");
							$("#update_tips_ids").html('<a href="https://security.tencent.com/opensource/detail/19">/ <span style="color: red;">有更新包，立即升级</span></a>');
						}
                    },
                    error: function () {
						console.log('更新检查失败');
                    }
                });
}

fetch_update();
</script>
</body></html>